<!DOCTYPE html>
<html lang="en" xmlns:th="http://www/thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/target}">target</a>
<br><hr>
<form th:action="@{/target}" method="post">
    <input name="username" value="zhansan" type="text">
    <input type="submit" value="submit">
</form>
<br><hr>
<a th:href="@{/testRest/1/admin}">/testRest/1/admin</a>
<br><hr>
<a th:href="@{/testRequest(username='admin')}">/testRequest(username='admin')</a>
<br><hr>
<a th:href="@{/testParam(username='admin')}">/testParam(username='admin')</a>
<br><hr>
<form th:action="@{/testParam}" method="get">
    <input name="username" value="zhansan" type="text">
    <input name="pass_word" value="123132" type="text">
    <input type="submit" value="submit">
</form>
<br><hr>
<form th:action="@{/testPOJO}" method="post">
    <input name="username" value="zhansan" type="text">
    <input name="password" value="123132" type="text">
    <input name="age" value="18" type="text">
    <input type="submit" value="submit">
</form>
<br><hr>
<form th:action="@{/testModelAndView}" method="post">
    <input name="username" value="testModelAndView" type="text">
    <input name="password" value="123132" type="text">
    <input name="age" value="18" type="text">
    <input type="submit" value="submit">
</form>

<br><hr>
<a th:href="@{/testView}">testView</a>
<br><hr>
<a th:href="@{/testForward}">testForward</a>
<br><hr>
<a th:href="@{/testRedirect}">testRedirect</a>
<br><hr>
<a th:href="@{/testvc}">testvc</a>

</body>
</html>